<?

$strBuf = explode(_DEFAULT_SEPARATOR_02,
                  $jobId);

$CLFetchers->fetchUsrHdr($Db,
                         $strBuf[_USER_ID],
                         $strBuf[_USER_COMPANY],
                         $srcDbHdr,
                         $nHdr,
                         $resHdr);

$CLFetchers->fetchUsrDtl($Db,
                         $strBuf[_USER_ID],
                         $strBuf[_USER_COMPANY],
                         $srcDbDtl,
                         $nDtl,
                         $resDtl);
?>

<html>
<title> User Info </title>
<body>

  <table border="1" class="dedeq">
  <tr>
  <th> ID       </th> <td> <?=$resHdr["USERID"][0] ?>     </td>
  </tr>
  <tr>
  <th> NAME     </th> <td> <?=$resHdr["USERNAME"][0] ?>   </td>
  </tr>
  <tr>
  <th> COMPANY  </th> <td> <?=$resHdr["COMPANY"][0] ?>    </td>
  </tr>
  <tr>
  <th> POS      </th> <td> <?=$resHdr["POS"][0] ?>        </td>
  </tr>
  <tr>
  <th> DEPT     </th> <td> <?=$resHdr["DEPT"][0] ?>       </td>
  </tr>
  <tr>
  <th> STATUS   </th> <td> <?=$resHdr["STATUS"][0] ?>     </td>
  </tr>
  </table><br/>

  <table border="1" class="dedeq">
  <tr>
  <th> NO       </th>
  <th> LEVELMN  </th>
  <th> DESCP    </th>
  <th> STATUS   </th>
  <th> ENTRY    </th>
  <th> MODIFY   </th>
  <th> DELETE   </th>
  <th> VIEW     </th>
  <th> FINALIZE </th>
  <th> APPROVED </th>
  <th> JOURNAL  </th>
  <th> PROGRAMS </th>
  <th> PICT     </th>
  </tr>
  
  <? for($iRow = 0; $iRow < $nDtl; $iRow++): ?>
  
  <tr>
  
  <td> <?=($iRow + 1) ?>                      </td>
  
  <td> <?=$resDtl["LEVELMN"][$iRow] ?>        </td>
  
  <td> <?=$resDtl["DESCRIPTION"][$iRow] ?>    </td>
  
  <td> <?=$resDtl["STATUS"][$iRow] ?>         </td>
  
  <td> <?=$resDtl["ENTRY_RIGHTS"][$iRow] ?>   </td>
  
  <td> <?=$resDtl["EDIT_RIGHTS"][$iRow] ?>    </td>
  
  <td> <?=$resDtl["DELETE_RIGHTS"][$iRow] ?>  </td>
  
  <td> <?=$resDtl["VIEW_RIGHTS"][$iRow] ?>    </td>
  
  <td> <?=$resDtl["FINALIZE_RIGHTS"][$iRow] ?></td>
  
  <td> <?=$resDtl["APPROVED_RIGHTS"][$iRow] ?></td>
  
  <td> <?=$resDtl["JOURNAL_RIGHTS"][$iRow] ?> </td>
  
  <td> <?=$resDtl["PROGRAMS"][$iRow] ?>       </td>
  
  <td> <?=$resDtl["PICT"][$iRow] ?>           </td>
  
  </tr>
  
  <? endfor; ?>
  
  </table><br/><br/>
</body>
</html>
